package com.tianhui.consignortwofei.other.auth.photograph;

import android.content.Intent;

import com.baidu.ocr.ui.camera.CameraActivity;
import com.fgs.common.utils.FileUtil;
import com.tianhui.consignortwofei.utils.ApplicationUtil;

/**
 * @author fgs
 * @date 2021/5/13
 * @description
 **/
public class FinderFrame implements IPhotographStyle {
    @Override
    public Intent initPhotographStyle(Intent intent) {
        intent.putExtra(CameraActivity.KEY_OUTPUT_FILE_PATH,
                FileUtil.getSaveFile(ApplicationUtil.getContext()).getAbsolutePath());
        intent.putExtra(CameraActivity.KEY_CONTENT_TYPE, CameraActivity.CONTENT_TYPE_BANK_CARD);
        return intent;
    }
}
